package com.bupt.constants;

//节点端口的三种状态
public interface PortStatus {
    //端口分为三种状态：1-占用 occupied，0-未占用 spare，2-毁坏 destroyed
    enum Status{
        SPARE(0),
        OCCUPIED(1),
        DESTROYED(2);


        private int val;

        Status(int val){
          this.val=val;
        }

        public int getVal() {
            return val;
        }
    }

}
